package com.ly.lypicturebackend.annotation;

import com.fasterxml.jackson.databind.ser.std.StdKeySerializers;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @author luyi
 * @create 2024-12-27-12:08
 */
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
public @interface AuthCheck {
    /**
     * 必须拥有一个角色
     */
    String mustRole() default "";
}
